home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PCGUIA 117
/
PC Guia 117.iso
/
Software
/
Utils
/
Software6
/
Product13
/
googlebar-0.9.5.06-fx.xpi
/
chrome
/
googlebar.jar
/
content
/
googlebarOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-02-21
|
38KB
|
999 lines
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is Googlebar for Mozilla.
-
- The Initial Developer of the Original Code is Andy Edmonds.
- Portions created by the Initial Developer are Copyright (C) 2001
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Andy Boughton
- Andrew Houghton
- John Woods
- Bernd Kuemmerlen
- Robert Mulcahy
- Alfred Kayser
- Reflex
- Gary Turnbull
- Raj Bhaskar
- Joachim Thewes
- Henrik Gemal
- Robert Fernandes
- Joe Chellman
- Franki Cheung
- Alban Fonrouge
- Martin Hassman
- Ufuk Kayserilioglu
- Francis Turner
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the LGPL or the GPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://googlebar/content/skin/default.css" type="text/css"?>
<?xul-overlay href="chrome://googlebar/content/googlebarContextOverlay.xul"?>
<?xul-overlay href="chrome://googlebar/content/googlebarPopupOverlay.xul"?>
<?xul-overlay href="chrome://googlebar/content/googlebarExtrasOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://googlebar/locale/googlebar.dtd" >
<!-- If you haven't read the disclaimer on our development site yet, please do -
while we encourage development of the toolbar, we'd appreciate A) The credit
for originally writing it and B) notification if you plan to modify and redistribute
it. We're always looking for help in the ongoing development -->
<overlay id="googlebarToolbar"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="googlebarInitPrefs()">
<!-- Px additions -->
<keyset id="mainKeyset">
<!-- F8 used by Prefbar from Aaron at xulplanet as well : ) -->
<key id="key_googlebarShowHide" keycode="VK_F8" modifiers="accel" command="cmd_googlebarShowHide"/>
<key id="key_googlebarShowHide2" keycode="VK_F8" modifiers="shift" command="cmd_googlebarShowHide"/>
<key id="key_boxFocus" keycode="VK_F12" modifiers="accel" command="cmd_googlebarCriteriaFocus"/>
<key id="key_boxFocus2" keycode="VK_F12" modifiers="shift" command="cmd_googlebarCriteriaFocus"/>
<key id="key_googlebarStatefulShowFocus" key="k" modifiers="accel,shift" command="cmd_googlebarStatefulShowFocus"/>
</keyset>
<commandset id="mainCommandSet">
<!-- <command id="cmd_googlebarShowHide" oncommand="goToggleToolbar('googlebar','cmd_googlebarShowHide');"/> -->
<command id="cmd_googlebarShowHide" oncommand="if(document.getElementById('googlebar').getAttribute('hidden') == 'true') { googlebarIsUnHiding(); } else { googlebarIsHiding(); }"/>
<command id="cmd_googlebarCriteriaFocus" oncommand="googlebarCriteriaFocus();"/>
<command id="cmd_googlebarStatefulShowFocus" oncommand="googlebarStatefulShowFocus();"/>
</commandset>
<!-- Px additions -->
<!-- Show/Hide Googlebar Key, setfocus to criteriaBox -->
<keyset id="navigationKeys">
<key id="key_googlebarShowHide" keycode="VK_F8" modifiers="accel" command="cmd_googlebarShowHide"/>
<key id="key_googlebarShowHide2" keycode="VK_F8" modifiers="shift" command="cmd_googlebarShowHide"/>
<key id="key_boxFocus" keycode="VK_F12" modifiers="accel" command="cmd_googlebarCriteriaFocus"/>
<key id="key_boxFocus2" keycode="VK_F12" modifiers="shift" command="cmd_googlebarCriteriaFocus"/>
<key id="key_googlebarStatefulShowFocus" key="k" modifiers="accel,shift" command="cmd_googlebarStatefulShowFocus"/>
</keyset>
<commandset id="commands">
<command id="cmd_googlebarShowHide" oncommand="if(document.getElementById('googlebar').getAttribute('hidden') == 'true') { googlebarIsUnHiding(); } else { googlebarIsHiding(); }"/>
<command id="cmd_googlebarCriteriaFocus" oncommand="googlebarCriteriaFocus();"/>
<command id="cmd_googlebarStatefulShowFocus" oncommand="googlebarStatefulShowFocus();"/>
</commandset>
<!-- Show/Hide Googlebar Key, setfocus to criteriaBox -->
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_googlebar" src="chrome://googlebar/locale/googlebar.properties"/>
</stringbundleset>
<script src="chrome://global/content/nsDragAndDrop.js"/>
<script src="chrome://global/content/nsTransferable.js"/>
<script type="application/x-javascript" src="googlebarUtil.js"/>
<script type="application/x-javascript" src="googlebarOverlay.js"/>
<script type="application/x-javascript" src="googlebarHighlight.js"/>
<script type="application/x-javascript" src="googlebarDragAndDrop.js"/>
<script type="application/x-javascript" src="googlebarExtrasOverlay.js"/>
<!-- script type="application/x-javascript" src="uninstall.js"/ -->
<script type="application/x-javascript">
window.addEventListener("load",googlebarDisplayCheck,true);
window.addEventListener("keypress",googlebarDisplayCheck,true);
window.addEventListener("mousemove",googlebarDisplayCheck,true);
// event listener to update the search term buttons overflow status
window.addEventListener("resize",googlebarCheckSearchbuttons,true);
</script>
<broadcasterset id="navBroadcasters">
<broadcaster id="cmd_googlebarShowHide"
oncommand="goToggleToolbar('googlebar', 'view_gg_menuitem')"
checked="true"/>
<broadcaster id="googlebar_contextpref" hidden="false"/>
</broadcasterset>
<popupset>
<popup id="hideTooltip" oncreate="return false;">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width="200" height="20" style="border: thin solid black">
<titledbutton id="replaceMe" align="left" class="borderless paneltitle"/>
</window>
</popup>
</popupset>
<menupopup id="view_toolbars_popup">
<menuitem id="view_gg_menuitem"
label="&googlebar.name;"
class="menuitem-iconic"
type="checkbox"
key="key_googlebarShowHide"
observes="cmd_googlebarShowHide"/>
</menupopup>
<window id="main-window">
<popupset id="Googlebar-popup">
<popup id="Googlebar-contextmenu"/>
</popupset>
</window>
<toolbox id="navigator-toolbox">
<toolbar id="googlebar"
class="chromeclass-toolbar"
persist="hidden"
hidden="false"
inherits="hidden"
tooltip="aTooltip"
grippytooltiptext="&googlebar.name;"
pack="start"
context="Googlebar-contextmenu">
<hbox pack="start" align="center" flex="1">
<toolbarbutton type="menu"
id="google-menu"
container="true"
tooltiptext="&button.menu;">
<menupopup>
<menuitem label="&menu.homepage;"
onmouseup="googlebarDoAction('http://www.google.com', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.homepage;"/>
<menuitem label="&menu.gmail;"
onmouseup="googlebarDoAction('http://gmail.google.com', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.gmail;"/>
<menuitem label="&menu.images;"
onmouseup="googlebarDoAction('http://images.google.com', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.images;"/>
<menuitem label="&menu.groups;"
onmouseup="googlebarDoAction('http://groups.google.com', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.groups;"/>
<menuitem label="&menu.directory;"
onmouseup="googlebarDoAction('http://www.google.com/dirhp', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.directory;"/>
<menuitem label="&menu.news;"
onmouseup="googlebarDoAction(googlebarNewsLocation(), googlebarGetLocFromEvent(event))"
tooltiptext="&menu.news;"/>
<menuitem label="&menu.answers;"
onmouseup="googlebarDoAction('http://answers.google.com/answers/main', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.answers;"/>
<menuseparator/>
<menuitem label="&menu.advanced;"
onmouseup="googlebarDoAction('http://www.google.com/advanced_search', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.advanced;"/>
<menuitem label="&menu.preferences;"
onmouseup="googlebarOpenGooglePrefs()"
tooltiptext="&menu.preferences;"/>
<menuitem label="&menu.tools;"
onmouseup="googlebarDoAction('http://www.google.com/language_tools', googlebarGetLocFromEvent(event))"
tooltiptext="&menu.tools;"/>
<menuitem label="&menu.help;"
onmouseup="googlebarDoAction(document.getElementById('bundle_googlebar').getString('gb.help_url'), googlebarGetLocFromEvent(event))"
tooltiptext="&menu.help;"/>
<menuseparator/>
<menuitem label="&menu.options;"
onmouseup="googlebarOpenPrefs()"
tooltiptext="&menu.options;"/>
<menuitem label="&menu.clear;"
onmouseup="googlebarClearHistory( true )"
tooltiptext="&menu.clear;"/>
<menuseparator/>
<menuitem label="&menu.updates;"
onmouseup="window._content.document.location=document.getElementById('bundle_googlebar').getString('gb.googlebar_url')"
tooltiptext="&menu.updates;"/>
</menupopup>
</toolbarbutton>
<hbox id="search-textbox" flex="1" persist="collapsed width" collapsed="false" maxheight="28" height="28">
<deck flex="1">
<menulist
id="googlebarCriteria"
editable="true"
onkeypress="if( event.keyCode == 13 ) { googlebarSearch(event); }"
onkeyup="googlebarClearTerms(); googlebarAddTerm(this.value); myGooglebarHighlight.delayHighlight(); googlebarSuggest(this.value);"
onfocus="googlebarCriteriaSelect(event);"
onclick="googlebarCriteriaSelect(event);"
ondblclick="googlebarCriteriaSelect(event);"
onmousedown="googlebarCriteriaSelect(event);"
onmouseover="googlebarCriteriaTooltip();"
tooltiptext="&googlebarSearchText.tooltip;"
statustext="&googlebarSearchText.statustext;"
flex="1"
minwidth="60"
width="250">
<menupopup id="googlebarCriteriaMenu" onpopuphiding="googlebarCheckSearchbuttons();"/>
</menulist>
<hbox id="googlebarHiddenBox" flex="1" minwidth="0" width="0">
<iframe id="googleSuggestFrame" flex="1"/>
</hbox>
<menulist
id="googlebarSuggest"
flex="1"
minwidth="60"
width="250">
<menupopup id="googlebarSuggestMenu"/>
</menulist>
</deck>
</hbox>
<splitter id="resize-splitter"
state="open"
collapse="none"
resizebefore="closest"
resizeafter="farthest"
persist="hidden"
hidden="false"
onmouseup="googlebarCheckSearchbuttons();"
tooltiptext="&misc.resize;">
<vbox id="resizer-bar" tooltiptext="&misc.resize;"/>
</splitter>
<hbox id="googlebar-buttons"
dragdroparea="googlebar-buttons"
flex="10"
pack="left">
<toolbarbutton id="cust-menu"
buttonclass="cust-menu"
class="cust-menu dragbordernone"
type="menu-button"
container="true"
buttonlabel="&button.cust.label;"
originallabel="&button.cust.label;"
tooltiptext="&button.cust;"
originaltooltip="&button.cust;"
oncommand="googlebarShowPopup(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="1">
<menupopup id="cust-popup"/>
</toolbarbutton>
<!--
Primary buttons will match google toolbar order:
Search, Site, Lucky, Images, Groups, Directory, News, Answers
-->
<toolbarbutton id="gbsearch-separate"
class="gbsearch-separate dragbordernone"
buttonclass="gbsearch-separate"
buttonlabel="&button.search.label;"
tooltiptext="&button.search;"
onclick="if (event.button == 1) { googlebarSearch(event,'default', 0 ) }"
oncommand="googlebarSearch(event,'default', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="2">
</toolbarbutton>
<toolbarbutton id="site-separate"
buttonclass="site-separate"
class="site-separate dragbordernone"
buttonlabel="&button.site.label;"
tooltiptext="&button.site;"
onclick="if (event.button == 1) { googlebarSearch(event,'site', 0 ) }"
oncommand="googlebarSearch(event,'site', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="3"/>
<toolbarbutton id="lucky-separate"
buttonclass="lucky-separate"
class="lucky-separate dragbordernone"
buttonlabel="&button.lucky.label;"
tooltiptext="&button.lucky;"
onclick="if (event.button == 1) { googlebarSearch(event,'lucky', 0 ) }"
oncommand="googlebarSearch(event,'lucky', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="4"/>
<toolbarbutton id="images-separate"
buttonclass="images-separate"
class="images-separate dragbordernone"
buttonlabel="&button.images.label;"
tooltiptext="&button.images;"
onclick="if (event.button == 1) { googlebarSearch(event,'images', 0 ) }"
oncommand="googlebarSearch(event,'images', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="5"/>
<toolbarbutton id="groups-separate"
buttonclass="groups-separate"
class="groups-separate dragbordernone"
buttonlabel="&button.groups.label;"
tooltiptext="&button.groups;"
onclick="if (event.button == 1) { googlebarSearch(event,'groups', 0 ) }"
oncommand="googlebarSearch(event,'groups', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="6"/>
<toolbarbutton id="directory-separate"
buttonclass="directory-separate"
class="directory-separate dragbordernone"
buttonlabel="&button.directory.label;"
tooltiptext="&button.directory;"
onclick="if (event.button == 1) { googlebarSearch(event,'directory', 0 ) }"
oncommand="googlebarSearch(event,'directory', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="7"/>
<toolbarbutton id="news-separate"
buttonclass="news-separate"
class="news-separate dragbordernone"
buttonlabel="&button.news.label;"
tooltiptext="&button.news;"
onclick="if (event.button == 1) { googlebarSearch(event,'news', 0 ) }"
oncommand="googlebarSearch(event,'news', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="8"/>
<toolbarbutton id="answers-separate"
buttonclass="answers-separate"
class="answers-separate dragbordernone"
buttonlabel="&button.answers.label;"
tooltiptext="&button.answers;"
onclick="if (event.button == 1) { googlebarSearch(event,'answers', 0 ) }"
oncommand="googlebarSearch(event,'answers', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="9"/>
<toolbarbutton id="scholar-separate"
buttonclass="scholar-separate"
class="scholar-separate dragbordernone"
buttonlabel="&button.scholar.label;"
tooltiptext="&button.scholar;"
onclick="if (event.button == 1) { googlebarSearch(event,'scholar', 0 ) }"
oncommand="googlebarSearch(event,'scholar', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="10"/>
<toolbarbutton id="catalog-separate"
buttonclass="catalog-separate"
class="catalog-separate dragbordernone"
buttonlabel="&button.catalog.label;"
tooltiptext="&button.catalog;"
onclick="if (event.button == 1) { googlebarSearch(event,'Catalog', 0 ) }"
oncommand="googlebarSearch(event,'Catalog', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="11"/>
<toolbarbutton id="froogle-separate"
buttonclass="froogle-separate"
class="froogle-separate dragbordernone"
buttonlabel="&button.froogle.label;"
tooltiptext="&button.froogle;"
onclick="if (event.button == 1) { googlebarSearch(event,'froogle', 0 ) }"
oncommand="googlebarSearch(event,'froogle', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="12"/>
<toolbarbutton id="stocks-separate"
buttonclass="stocks-separate"
class="stocks-separate dragbordernone"
buttonlabel="&button.stocks.label;"
tooltiptext="&button.stocks;"
onclick="if (event.button == 1) { googlebarSearch(event,'stocks', 0 ) }"
oncommand="googlebarSearch(event,'stocks', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="13"/>
<toolbarbutton id="unclesam-separate"
buttonclass="unclesam-separate"
class="unclesam-separate dragbordernone"
buttonlabel="&button.unclesam.label;"
tooltiptext="&button.unclesam;"
onclick="if (event.button == 1) { googlebarSearch(event,'USA', 0 ) }"
oncommand="googlebarSearch(event,'USA', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="14"/>
<toolbarbutton id="viewer-separate"
buttonclass="viewer-separate"
class="viewer-separate dragbordernone"
buttonlabel="&button.viewer.label;"
tooltiptext="&button.viewer;"
onclick="if (event.button == 1) { googlebarSearch(event,'viewer', 0 ) }"
oncommand="googlebarSearch(event,'viewer', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="15"/>
<toolbarbutton id="webquotes-separate"
buttonclass="webquotes-separate"
class="webquotes-separate dragbordernone"
buttonlabel="&button.webquotes.label;"
tooltiptext="&button.webquotes;"
onclick="if (event.button == 1) { googlebarSearch(event,'webquotes', 0 ) }"
oncommand="googlebarSearch(event,'webquotes', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="16"/>
<toolbarbutton id="dictionary-separate"
buttonclass="dictionary-separate"
class="dictionary-separate dragbordernone"
buttonlabel="&button.dict.label;"
tooltiptext="&button.dict;"
onclick="if (event.button == 1) { googlebarSearch(event,'dictionary', 0 ) }"
oncommand="googlebarSearch(event,'dictionary', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="17"/>
<toolbarbutton id="glossary-separate"
buttonclass="glossary-separate"
class="glossary-separate dragbordernone"
buttonlabel="&button.gloss.label;"
tooltiptext="&button.gloss;"
onclick="if (event.button == 1) { googlebarSearch(event,'glossary', 0 ) }"
oncommand="googlebarSearch(event,'glossary', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="18"/>
<toolbarbutton id="bsd-separate"
buttonclass="bsd-separate"
class="bsd-separate dragbordernone"
buttonlabel="&button.bsd.label;"
tooltiptext="&button.bsd;"
onclick="if (event.button == 1) { googlebarSearch(event,'bsd', 0 ) }"
oncommand="googlebarSearch(event,'bsd', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="19"/>
<toolbarbutton id="linux-separate"
buttonclass="linux-separate"
class="linux-separate dragbordernone"
buttonlabel="&button.linux.label;"
tooltiptext="&button.linux;"
onclick="if (event.button == 1) { googlebarSearch(event,'linux', 0 ) }"
oncommand="googlebarSearch(event,'linux', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="20"/>
<toolbarbutton id="mac-separate"
buttonclass="mac-separate"
class="mac-separate dragbordernone"
buttonlabel="&button.mac.label;"
tooltiptext="&button.mac;"
onclick="if (event.button == 1) { googlebarSearch(event,'mac', 0 ) }"
oncommand="googlebarSearch(event,'mac', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="21"/>
<toolbarbutton id="microsoft-separate"
buttonclass="microsoft-separate"
class="microsoft-separate dragbordernone"
buttonlabel="&button.microsoft.label;"
tooltiptext="&button.microsoft;"
onclick="if (event.button == 1) { googlebarSearch(event,'microsoft', 0 ) }"
oncommand="googlebarSearch(event,'microsoft', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="22"/>
<vbox id="separator1" class="separator" persist="hidden ordinal" hidden="false" ordinal="23"/>
<toolbarbutton id="gb-options-separate"
buttonclass="gb-options-separate"
class="gb-options-separate"
buttonlabel="&button.menu.label;"
tooltiptext="&button.menu;"
oncommand="googlebarOpenPrefs()"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="24"/>
<toolbarbutton id="spec-menu"
buttonclass="spec-menu"
class="spec-menu dragbordernone"
type="menu-button"
container="true"
buttonlabel="&button.spec.label;"
originallabel="&button.spec.label;"
tooltiptext="&button.spec;"
originaltooltip="&button.spec;"
oncommand="googlebarShowPopup(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="25">
<menupopup id="spec-popup"/>
</toolbarbutton>
<toolbarbutton id="comp-menu"
buttonclass="comp-menu"
class="comp-menu dragbordernone"
type="menu-button"
container="true"
buttonlabel="&button.comp.label;"
originallabel="&button.comp.label;"
tooltiptext="&button.comp;"
originaltooltip="&button.comp;"
oncommand="googlebarShowPopup(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="26">
<menupopup id="comp-popup"/>
</toolbarbutton>
<toolbarbutton id="univ-button"
buttonclass="univ-button"
class="univ-button dragbordernone"
type="menu-button"
container="true"
buttonlabel="&button.univ.label;"
tooltiptext="&button.univ; - &button.univ.none;"
disabled="false"
oncommand="univGo(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="27">
<menupopup id="univ-popup"/>
</toolbarbutton>
<vbox id="separator2" class="separator" persist="hidden ordinal" hidden="false" ordinal="28"/>
<hbox id="extras-box"
persist="hidden ordinal"
hidden="true"
ordinal="29"/>
<toolbarbutton id="info-menu"
buttonclass="info-menu"
class="info-menu dragbordernone"
type="menu-button"
container="true"
buttonlabel="&button.info.label;"
originallabel="&button.info.label;"
tooltiptext="&button.info;"
originaltooltip="&button.info;"
oncommand="googlebarShowPopup(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="30">
<menupopup id="info-popup"/>
</toolbarbutton>
<toolbarbutton id="cached-separate"
buttonclass="cached-separate"
class="cached-separate dragbordernone"
buttonlabel="&info.cached.label;"
tooltiptext="&info.cached;"
onclick="if (event.button == 1) { googlebarSearch(event,'cache', 0 ) }"
oncommand="googlebarSearch(event,'cache', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="31"/>
<toolbarbutton id="similar-separate"
buttonclass="similar-separate"
class="similar-separate dragbordernone"
buttonlabel="&info.similar.label;"
tooltiptext="&info.similar;"
onclick="if (event.button == 1) { googlebarSearch(event,'similar', 0 ) }"
oncommand="googlebarSearch(event,'similar', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="32"/>
<toolbarbutton id="backwards-separate"
buttonclass="backwards-separate"
class="backwards-separate dragbordernone"
buttonlabel="&info.backwards.label;"
tooltiptext="&info.backwards;"
onclick="if (event.button == 1) { googlebarSearch(event,'backwards', 0 ) }"
oncommand="googlebarSearch(event,'backwards', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="33"/>
<toolbarbutton id="translate-separate"
buttonclass="translate-separate"
class="translate-separate dragbordernone"
buttonlabel="&info.translate.label;"
tooltiptext="&info.translate;"
onclick="if (event.button == 1) { googlebarSearch(event,'translate', 0 ) }"
oncommand="googlebarSearch(event,'translate', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="34"/>
<toolbarbutton id="up-dir-button"
buttonclass="up-dir-button"
class="up-dir-button dragbordernone"
type="menu-button"
container="true"
buttonlabel="&button.up-dir.label;"
tooltiptext="&button.up-dir;"
disabled="true"
onclick="if (event.button == 1) { googlebarUp(event) }"
oncommand="googlebarUp(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="35">
<menupopup id="up-dir-popup"/>
</toolbarbutton>
<hbox id="nav-box"
persist="hidden ordinal"
hidden="false"
ordinal="36">
<vbox id="navseparator" class="separator"/>
<toolbarbutton id="last-button"
buttonclass="last-button"
class="last-button"
type="menu-button"
container="true"
buttonlabel="&button.nav.last.label;"
tooltiptext="&button.nav.last.tooltip;"
disabled="true">
<menupopup id="last-button-popup"/>
</toolbarbutton>
<toolbarbutton id="prev-button"
buttonclass="prev-button"
class="prev-button"
type="menu-button"
container="true"
buttonlabel="&button.nav.prev.label;"
tooltiptext="&button.nav.prev.tooltip;"
disabled="true">
<menupopup id="prev-button-popup"/>
</toolbarbutton>
<toolbarbutton id="next-button"
buttonclass="next-button"
class="next-button"
type="menu-button"
container="true"
buttonlabel="&button.nav.next.label;"
tooltiptext="&button.nav.next.tooltip;"
disabled="true">
<menupopup id="next-button-popup"/>
</toolbarbutton>
</hbox>
<vbox id="separator3" class="separator" persist="hidden ordinal" hidden="false" ordinal="37"/>
<toolbarbutton id="highlightplus-button"
buttonclass="highlightplus-button"
class="highlightplus-button dragbordernone"
buttonlabel="&button.highlightplus.label;"
tooltiptext="&button.highlightplus;"
oncommand="googlebarPaste(event)"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="38">
<observes element="cmd_copy" attribute="disabled"/>
</toolbarbutton>
<toolbarbutton id="highlight-button"
buttonclass="highlight-button"
class="highlight-button dragbordernone"
buttonlabel="&button.highlight.label;"
tooltiptext="&button.highlight;"
disabled="true"
oncommand="myGooglebarHighlight.highLightInPage()"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="false"
ordinal="39"
activated="false"/>
<toolbarbutton id="gblogger-separate"
buttonclass="gblogger-separate"
class="gblogger-separate dragbordernone"
buttonlabel="&button.gblogger.label;"
tooltiptext="&button.gblogger;"
onclick="if (event.button == 1) { googlebarSearch(event,'gblogger', 0 ) }"
oncommand="googlebarSearch(event,'gblogger', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="40"/>
<toolbarbutton id="nocalc-separate"
buttonclass="nocalc-separate"
class="nocalc-separate dragbordernone"
buttonlabel="&button.nocalc.label;"
tooltiptext="&button.nocalc;"
onclick="if (event.button == 1) { googlebarSearch(event,'nocalc', 0 ) }"
oncommand="googlebarSearch(event,'nocalc', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="41"/>
<toolbarbutton id="gb-prefill-separate"
buttonclass="gb-prefill-separate"
class="gb-prefill-separate dragbordernone"
buttonlabel="&button.gb-prefill.label;"
tooltiptext="&button.gb-prefill;"
onclick="if (event.button == 1) { googlebarSearch(event,'gb-prefill', 'NO_SEARCH') }"
oncommand="googlebarSearch(event,'gb-prefill', 'NO_SEARCH')"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="42"/>
<toolbarbutton id="gb-mycountry-separate"
buttonclass="gb-mycountry-separate"
class="gb-mycountry-separate dragbordernone"
buttonlabel="&button.gb-mycountry.label;"
tooltiptext="&button.gb-mycountry;"
onclick="if (event.button == 1) { googlebarSearch(event,'gb-mycountry', 0 ) }"
oncommand="googlebarSearch(event,'gb-mycountry', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="43"/>
<toolbarbutton id="gb-mylocal-separate"
buttonclass="gb-mylocal-separate"
class="gb-mylocal-separate dragbordernone"
buttonlabel="&button.gb-mylocal.label;"
tooltiptext="&button.gb-mylocal;"
onclick="if (event.button == 1) { googlebarSearch(event,'gb-mylocal', 'REPROGRAM' ) }"
oncommand="googlebarSearch(event,'gb-mylocal', 0 )"
ondragexit="nsDragAndDrop.dragExit(event, btnDragObserver)"
ondraggesture="nsDragAndDrop.startDrag(event, btnDragObserver)"
ondragover="nsDragAndDrop.dragOver(event, btnDragObserver)"
ondragdrop="nsDragAndDrop.drop(event, btnDragObserver)"
persist="hidden ordinal"
hidden="true"
ordinal="44"/>
</hbox>
<hbox flex="1500">
<hbox id="googlebarSearchTerms"
align="center"
persist="hidden"
hidden="false"
googlebaroverflow="false"/>
<toolbarbutton id="searchterms-menu"
type="menu"
container="true"
hidden="true">
<menupopup id="searchterms-popup"/>
</toolbarbutton>
</hbox>
</hbox>
</toolbar>
</toolbox>
</overlay>